<template>
  <el-card shadow="never">
    <div slot="header" class="card-header">
      <span>{{ data.title }}</span>
    </div>
    <el-table :data="data.data" border style="width: 100%">
      <el-table-column prop="columnA" label="统计时间"> </el-table-column>
      <el-table-column prop="columnB" label="模型建设数量"> </el-table-column>
      <el-table-column prop="columnC" label="通过数量"> </el-table-column>
    </el-table>
    <div class="pagination">
      <Pagination />
    </div>
  </el-card>
</template>

<script>
import Pagination from './Pagination'
export default {
  props: {
    data: {
      type: Object,
      default: () => {}
    }
  },

  components: {
    Pagination
  }
}
</script>

<style lang="scss" scoped>
.pagination {
  float: right;
  margin: 10px;
}
</style>
